package in.developersguide.cxf.quickStart.cxfService;

import javax.jws.WebService;

/**
 * @author BFM
 *
 */
@WebService(endpointInterface="in.developersguide.cxf.quickStart.cxfService.SampleCXF",serviceName="SampleCXF")
public class SampleCXFImpl implements SampleCXF {

	public String sayHi(String text) {
		System.out.println("sayHi called");
        return "Hello " + text;
    }

}

/**
 * Notes
 * The @WebService annotation on the implementation class lets CXF know which interface we want to create our WSDL with. 
 * In this case its simply our HelloWorld interface
 */
